﻿<!--<head>
    <script src="~/lib/vue/dist/vue.global.js"></script>
    <link href="~/lib/element-plus/dist/index.css" rel="stylesheet" />
    <script src="~/lib/element-plus/dist/index.full.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
</head>
<div id="app">
    <el-scrollbar style="height: calc(98vh - 70px);">
        <el-menu background-color="#FFFFCC" width="100%" height="100%">
            <el-sub-menu index="1">
                <template #title>-->
                    @*<el-icon><info></el-icon>*@
                    <!--招聘管理
                </template>
                <el-menu-item-group>
                    <el-sub-menu index="1-1">
                        <template #title>
                            职位发布管理
                        </template>
                        <el-menu-item index="1-1-1" v-on:click="setSelectedView('/EMR/Index')">
                            职位发布登记
                        </el-menu-item>
                        <el-menu-item index="1-1-2" v-on:click="setSelectedView('/EMRS/Index')">职位发布变更</el-menu-item>
                        <el-menu-item index="1-1-3" v-on:click="setSelectedView('/EMRSS/Index')">职位发布查询</el-menu-item>
                    </el-sub-menu>

                    <el-sub-menu index="1-2">
                        <template #title>
                            简历管理
                        </template>
                        <el-menu-item index="1-2-1" v-on:click="setSelectedView('/ER/Index')">简历登记</el-menu-item>
                        <el-menu-item index="1-2-2" v-on:click="setSelectedView('/ERS/Index')">简历筛选</el-menu-item>
                        <el-menu-item index="1-2-3" v-on:click="setSelectedView('/ERSS/Index')">有效简历查询</el-menu-item>
                    </el-sub-menu>
                    <el-sub-menu index="1-3">
                        <template #title>
                            面试管理
                        </template>
                        <el-menu-item index="1-3-1" v-on:click="setSelectedView('/ERResults/Index')">面试结果登记</el-menu-item>
                        <el-menu-item index="1-3-2" v-on:click="setSelectedView('/EI/Index')">面试筛选</el-menu-item>
                    </el-sub-menu>
                    <el-sub-menu index="1-4">
                        <template #title>
                            录用管理
                        </template>
                        <el-menu-item index="1-4-1" v-on:click="setSelectedView('/ERApplication/Index')">录用申请</el-menu-item>
                        <el-menu-item index="1-4-2" v-on:click="setSelectedView('/ERApproval/Index')">录用审批</el-menu-item>
                        <el-menu-item index="1-4-3" v-on:click="setSelectedView('/ERInquire/Index')">录用查询</el-menu-item>
                    </el-sub-menu>
                </el-menu-item-group>
            </el-sub-menu>

            <el-sub-menu index="2">
                <template #title>
                    人力资源档案管理
                </template>
                <el-menu-item-group>
                    <el-menu-item index="2-1" v-on:click="setSelectedView('/HF/Index')">
                        人力资源档案登记
                    </el-menu-item>
                    <el-menu-item index="2-2" v-on:click="setSelectedView('/HFReview/Index')">
                        人力资源档案登记复核
                    </el-menu-item>
                    <el-menu-item index="2-3" v-on:click="setSelectedView('/HFInquire/Index')">
                        人力资源档案查询
                    </el-menu-item>
                    <el-menu-item index="2-4" v-on:click="setSelectedView('/HFAlter/Index')">
                        人力资源档案变更
                    </el-menu-item>
                    <el-sub-menu index="2-5">
                        <template #title>
                            人力资源档案删除管理
                        </template>
                        <el-menu-item index="2-5-1" v-on:click="setSelectedView('/HFDel/Index')">人力资源档案删除</el-menu-item>
                        <el-menu-item index="2-5-2" v-on:click="setSelectedView('/HFRecover/Index')">档案删除恢复</el-menu-item>
                        <el-menu-item index="2-5-3" v-on:click="setSelectedView('/HFDelete/Index')">人力资源档案永久删除</el-menu-item>
                    </el-sub-menu>
                </el-menu-item-group>
            </el-sub-menu>

            <el-sub-menu index="3">
                <template #title>
                    薪酬标准管理
                </template>
                <el-menu-item-group>
                    <el-menu-item index="3-1" v-on:click="setSelectedView('/Register/Index')">
                        薪酬标准登记
                    </el-menu-item>
                    <el-menu-item index="3-2" v-on:click="setSelectedView('/SalaryReview/Index')">
                        薪酬标准登记复核
                    </el-menu-item>
                    <el-menu-item index="3-3" v-on:click="setSelectedView('/PayInquiry/Index')">
                        薪酬标准查询
                    </el-menu-item>
                    <el-menu-item index="3-4" v-on:click="setSelectedView('/Alteration/Index')">
                        薪酬标准变更
                    </el-menu-item>
                </el-menu-item-group>
            </el-sub-menu>

            <el-sub-menu index="4" class="custom-sub-menu">
                <template #title>
                    <span>
                        薪酬发放管理
                    </span>
                </template>
                <el-menu-item-group>
                    <el-menu-item index="4-1" v-on:click="setSelectedView('/PayrollRegistration/Index')">
                        薪酬发放登记
                    </el-menu-item>
                    <el-menu-item index="4-2" v-on:click="setSelectedView('/PayrollCheck/Index')">
                        薪酬发放登记复核
                    </el-menu-item>
                    <el-menu-item index="4-3" v-on:click="setSelectedView('/PayrollQuery/Index')">
                        薪酬发放查询
                    </el-menu-item>
                </el-menu-item-group>
            </el-sub-menu>

            <el-sub-menu index="5">
                <template #title>
                    <span>
                        调动管理
                    </span>
                </template>
                <el-menu-item-group>
                    <el-menu-item index="5-1" v-on:click="setSelectedView('/RegisterMC/Index')">
                        调动登记
                    </el-menu-item>
                    <el-menu-item index="5-2" v-on:click="setSelectedView('/ReviewMC/Index')">
                        调动审核
                    </el-menu-item>
                    <el-menu-item index="5-3" v-on:click="setSelectedView('/SelectMC/Index')">
                        调动查询
                    </el-menu-item>
                </el-menu-item-group>
            </el-sub-menu>

            <el-sub-menu index="6">
                <template #title>
                    <span>
                        客户化设置
                    </span>
                </template>
                <el-menu-item-group>
                    <el-sub-menu index="6-1">
                        <template #title>
                            人力资源档案管理
                        </template>
                        <el-menu-item index="6-1-1" v-on:click="setSelectedView('/CFFK/Index')">Ⅰ级机构设置</el-menu-item>
                        <el-menu-item index="6-1-2" v-on:click="setSelectedView('/CFSK/Index')">Ⅱ级机构设置</el-menu-item>
                        <el-menu-item index="6-1-3" v-on:click="setSelectedView('/CFTK/Index')">Ⅲ级机构设置</el-menu-item>
                        <el-menu-item index="6-1-4" v-on:click="setSelectedView('/CPC/Index')">职称设置</el-menu-item>
                        <el-menu-item index="6-1-5" v-on:click="setSelectedView('/CMK/Index')">职位分类设置</el-menu-item>
                        <el-menu-item index="6-1-6" v-on:click="setSelectedView('/CM/Index')">职位设置</el-menu-item>
                        <el-menu-item index="6-1-7" v-on:click="setSelectedView('/CPCS/Index')">公共属性设置</el-menu-item>
                    </el-sub-menu>
                    <el-sub-menu index="6-2">
                        <template #title>
                            薪酬管理设置
                        </template>
                        <el-menu-item index="6-2-1" v-on:click="setSelectedView('/CPCSS/Index')">薪酬项目设置</el-menu-item>
                        <el-menu-item index="6-2-2">薪酬发放方式设置</el-menu-item>
                    </el-sub-menu>
                    <el-sub-menu index="6-3">
                        <template #title>
                            其他设置
                        </template>
                        <el-menu-item index="6-3-1">关键字查询设置</el-menu-item>
                    </el-sub-menu>
                </el-menu-item-group>
            </el-sub-menu>

            <el-sub-menu index="7">
                <template #title>
                    <span>
                        标准数据报表
                    </span>
                </template>
                <el-menu-item-group>
                    <el-menu-item index="7-1" v-on:click="setSelectedView('/Excel/Index')">
                        Excel标准数据报表
                    </el-menu-item>
                    <el-menu-item index="7-2">
                        Pdf标准数据报表
                    </el-menu-item>
                    <el-menu-item index="7-3">
                        Xml标准数据报表
                    </el-menu-item>
                </el-menu-item-group>
            </el-sub-menu>

            <el-sub-menu index="8">
                <template #title>
                    <span>
                        权限管理
                    </span>
                </template>
                <el-menu-item-group>
                    <el-menu-item index="8-1" v-on:click="setSelectedView('/User/Index')">
                        用户管理
                    </el-menu-item>
                    <el-menu-item index="8-2" v-on:click="setSelectedView('/Roles/Index')">
                        角色管理
                    </el-menu-item>
                </el-menu-item-group>
            </el-sub-menu>
        </el-menu>
    </el-scrollbar>
</div>

<script>
    var { createApp, reactive, ref } = Vue
    var app = createApp({
        setup() {
            const fetchData = () => {
                console.log(111111111)
                axios.defaults.headers["Content-Type"] = "application/x-www-form-urlencoded";
                const menuResponse = axios.post('/GetMenu1');
                menuItems.value = menuResponse.data; // 确保使用正确的响应
                })
            };
            fetchData()
            return {
                
            }
        }
    })
    app.use(ElementPlus)
    app.mount("#app")
</script>

<style scoped>
    .router-link {
        text-decoration: none;
        color: #000000;
    }

    * {
        font-family: "Microsoft YaHei", sans-serif;
    }
</style>-->